Prefer duplication over the wrong abstraction (2016)

I believe that “single source of truth” is a principle that should always be followed. If there’s duplicated code where it’d be a bug if they diverge, then you should refactor. It creates a long-distance coupling in your code that may be invisible to future developers until a bug emerges.

View Post on Scour ↗

More from Hacker News on Scour.

Covers The Wrong Abstraction

Covered by daemonology.net, SuperTechFans

Discussed on Hacker News